package com.tensquare.notice.client;
/*
 *ClassName:CommentClient
 *Description:
 *@author:可爱的大鸭子
 */

import entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "tensquare-article")
public interface CommentClient {
    //根据评论id查询评论
    @RequestMapping(value = "/article/commentById/{id}", method = RequestMethod.GET)
    public Result findById(@PathVariable("id") String id);
}
